﻿using System;
using System.Collections.Generic;

namespace TradeMeSDK
{
    public class MemberProfile
    {
        public string FirstName { get; set; }
        public string Occupation { get; set; }
        public string Biography { get; set; }
        public string Quote { get; set; }
        public string Photo { get; set; }
        public DateTime DateRemoved { get; set; }
        public bool IsEnabled { get; set; }
        public Member Member { get; set; }
    }

    public class Member
    {
        public int MemberId { get; set; }
        public string Nickname { get; set; }
        public DateTime DateAddressVerified { get; set; }
        public DateTime DateJoined { get; set; }
        public int UniqueNegative { get; set; }
        public int UniquePositive { get; set; }
        public int FeedbackCount { get; set; }
        public bool IsAddressVerified { get; set; }
        public string Suburb { get; set; }
        public bool IsDealer { get; set; }
    }


    public class Feedback
    {
        public int TotalCount { get; set; }
        public int Page { get; set; }
        public int PageSize { get; set; }
        public List<FeedbackItem> List { get; set; }
        public FeedbackCount FeedbackCount { get; set; }
    }

    public class FeedbackItem
    {
        public bool IsSeller { get; set; }
        public string Text { get; set; }
        public int ListingId { get; set; }
        public int BuyNowPrice { get; set; }
        public bool IsAnOffer { get; set; }
        public int MaximumBidAmount { get; set; }
        public DateTime DateResponded { get; set; }
        public string Response { get; set; }
        public bool HasReturnedFeedback { get; set; }
        public int SellerId { get; set; }
        public Member FeedbackFrom { get; set; }
    }

    public class FeedbackCount
    {
        public int TotalCount { get; set; }
        public int TotalPositive { get; set; }
        public int UniquePositive { get; set; }
        public int TotalNeutral { get; set; }
        public int TotalNegative { get; set; }
        public int UniqueNegative { get; set; }
        public DateTime LastLoggedIn { get; set; }
        public DateTime DateJoined { get; set; }
        public int TwoMonthListingCount { get; set; }
        public bool IsAuthenticated { get; set; }
    }

    public class MemberId
    {
        public int Id { get; set; }
    }

    public class MemberPhotos
    {
        public int TotalCount { get; set; }
        public int Page { get; set; }
        public int PageSize { get; set; }
        public List<MemberPhoto> List { get; set; }
    }

    public class MemberPhoto
    {
        public int Id { get; set; }
        public string Thumbnail { get; set; }
        public string Url { get; set; }
        public string Description { get; set; }
    }
}
